package top.yaofengqiao.springcloudsimple.auth.biz.domain.auth.repository;

import top.yaofengqiao.springcloudsimple.auth.biz.domain.auth.model.entity.RoleEntity;

import java.util.List;

/**
 * @author yfq
 * @date 2024/6/1 15:06
 * @description
 */
public interface IRoleRepository {
    /**
     * 查询用户角色
     *
     * @param userId 用户id
     * @return ...
     */
    List<RoleEntity> queryByUserId(long userId);
}
